set COMMAINDIR=%~dp0
set BuildType=%1
copy %COMMAINDIR%include\*.h %COMMAINDIR%..\..\output\include /Y

::src
copy %COMMAINDIR%src\DrawBaseList.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawBitmap.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawButton.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawCheckBox.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawComboBox.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawLabel.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawLayout.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawProgressBar.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawScrollBar.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawTexture.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawUITree.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawView.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawLabelLink.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\DrawRichEdit.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\ResourceHelper.h %COMMAINDIR%..\..\output\include /Y
copy %COMMAINDIR%src\UIFactory.h %COMMAINDIR%..\..\output\include /Y
DrawLabelLink
copy %COMMAINDIR%..\..\build\%BuildType%\*.lib %COMMAINDIR%..\..\output\lib\%BuildType%\ /Y
PAUSE